package com.dankegongyu.demo.http.http.api;

/**
 * @author wpq
 * @version 1.0
 */
public class Api {

    /**
     * Api地址
     */
    public static String BASE_URL;

    static {
        BASE_URL = "https://api-room.danke.com/";
    }

    /**
     * 注册设备
     */
    public static final String DEVICE_REGISTER = BASE_URL + "api/v1/device/register";
    /**
     * 基础配置信息
     */
    public static final String BASE_CONFIG = BASE_URL + "v1/configure/serviceInfo";
    /**
     * 城市列表
     */
    public static final String CITY_LIST = BASE_URL + "v1/configure/cityList";

    /**
     * 收藏房源
     */
    public static final String FAVORITE_ROOM = BASE_URL + "api/v2/collect/room";

    /**
     * 登录-获取access token
     */
    public static final String OAUTH_LOGIN = BASE_URL + "api/v1/oauth/access_token";
    /**
     * 获取用户信息
     */
    public static final String USER_INFO = BASE_URL + "api/v2/user/info";

    /**
     * 列表页
     */
    public static final String ROOM_LIST = BASE_URL + "api/v3/room/list";
}
